package ldh.im.fxbase.rpc.service;

import ldh.im.dto.base.OkResp;
import ldh.im.dto.business.group.GroupAddReq;
import ldh.im.dto.business.group.GroupCreateReq;
import ldh.im.dto.business.group.GroupInfoReq;
import ldh.im.dto.business.item.GroupInfoItem;
import ldh.rpc.Rpc;
import ldh.rpc.RpcMapper;
import ldh.rpc.exception.RpcException;

@Rpc
public interface RpcGroupService {

    @RpcMapper(path="groupCreate")
    OkResp groupCreate(GroupCreateReq groupCreateReq) throws RpcException;

    @RpcMapper(path="groupAdd")
    OkResp groupAdd(GroupAddReq groupAddReq) throws RpcException;

    @RpcMapper(path="groupInfo")
    GroupInfoItem pullGroupInfo(GroupInfoReq groupInfoReq) throws RpcException;
}
